# -*- encoding: utf-8 -*-
"""
@author: acedar  
@time: 2024/2/16 11:59
@file: partial_func.py 
"""

import functools


def add(num1, num2, num3):
    print(f"num1:{num1}, num2:{num2}, num3:{num3}")
    return num1 + num2 + num3


partial_func = functools.partial(add, 100)


ans = partial_func(20, 30)
print('ans:', ans)

